<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>编辑账户</title>
</head>
<body>
    <h1>编辑账户</h1>
    <form action="/account/edit" method="post">
        <input type="hidden" th:value="${account.id}" name="id">
        <label for="cardno">卡号:</label>
        <input type="text" id="cardno" name="cardno" th:value="${account.cardno}" required><br>
        <label for="password">密码:</label>
        <input type="password" id="password" name="password" th:value="${account.password}" required><br>
        <label for="balance">余额:</label>
        <input type="number" id="balance" name="balance" step="0.01" th:value="${account.balance}" required><br>
        <label for="status">状态:</label>
        <input type="number" id="status" name="status" th:value="${account.status}" required><br>
        <input type="submit" value="保存">
    </form>
</body>
</html>    